import { createStore } from 'vuex'

// Create a new store instance.
export default createStore({
    state () {
        return {
            user:null,
        }
    },
    mutations: {
        setUser(state:any,user){
            state.user=user
        }
    }
})
